<!DOCTYPE html>
<html >
	<head>
		<meta charset="utf-8" />
		<script type="text/javascript" src="../js/angular.js" ></script>
		<title></title>
	</head>
	<body ng-app="app" >
		<div ng-controller="ctrl" >
			<input type="text" ng-model="name" ng-model-options="{updateOn:'blur'}" >
			{{name}}
			<input type="text" ng-model="title" ng-model-options="{debounce:1000}" >
			{{title}}
			<input type="text" ng-model="valuu" ng-model-options="{updateOn:'default blur',debounce:{default:2000,blur:0}}" >
			{{valuu}}
		</div>
		<script>
			var app=angular.module("app",[]);
			app.controller("ctrl",["$scope",function($scope){

			}]);
			
		</script>
	</body>
</html>
